package com.seata.logic.visualize.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.seata.logic.visualize.entity.TblUserMoney;

import java.math.BigDecimal;

/**
 * @author 蚂蚁会花呗
 * @date 2021/9/9 11:48
 */
public interface TblUserMoneyService extends IService<TblUserMoney> {

    /**
     * 扣除个人费用
     * @param userId
     * @param money
     */
    void decreaseMoney(Long userId, BigDecimal money);

}
